package com.ruoyi.system.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.SmartDistribution;
import com.ruoyi.system.mapper.SmartDistributionMapper;
import com.ruoyi.system.service.ISmartDistributionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 产品注册Service业务层处理
 * 
 * @author tianxingxia
 * @date 2025-02-07
 */
@Service
@DataSource(value = DataSourceType.BAISONE3)
public class SmartDistributionServiceImpl implements ISmartDistributionService
{
    @Autowired
    private SmartDistributionMapper smartdistributionMapper;

    /**
     * 查询产品注册
     *
     * @param id 产品注册主键
     * @return 产品注册
     */
//    @Override
//    public SmartDistribution selectSmartDistributionById(String id)
//    {
//        return smartdistributionMapper.selectSmartDistributionById(id);
//    }

    /**
     * 查询产品注册列表
     * 
     * @param smartdistribution 产品注册
     * @return 产品注册
     */
    @Override
    public List<SmartDistribution> selectSmartDistributionList(SmartDistribution smartdistribution)
    {
        return smartdistributionMapper.selectSmartDistributionList(smartdistribution);
    }

}
